package com.litong;

import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;


public class ServetTest extends HttpServlet{
	protected void doGet(HttpServletRequest req,
						HttpServletResponse resp)
					throws ServletException,java.io.IOException{

		resp.getWriter().println('im httpServet doGet()');
	}
	protected void doPost(HttpServletRequest req,
                      HttpServletResponse resp)
               throws ServletException,
                      java.io.IOException{ 
		resp.getWriter().println("i am httpServet doPost() post name="+req.getParameter("username"));
	}

}